package me.zhengjie.modules.location.service.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;
import java.sql.Timestamp;
import io.swagger.annotations.ApiModelProperty;
import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.ToStringSerializer;

/**
* @author TianI
* @date 2022-01-28
*/
@Data
@Builder
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class LocationDto implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "项目区位主键id")
    /** 防止精度丢失 */
    @JSONField(serializeUsing = ToStringSerializer.class)
    private Long locationId;

    @ApiModelProperty(value = "配套所属分类id")
    private Long locationCategoryId;

    @ApiModelProperty(value = "配套名称")
    private String locationName;

    @ApiModelProperty(value = "配套距离")
    private String locationDistance;

    @ApiModelProperty(value = "关联房产项目id")
    private Long realEstateProjectId;
}
